using System.Runtime.Serialization;
using ActionService.Criteria;
using ActionService.MessageBase;
using ActionService.DataTransferObjects;
using System.Collections.Generic;
using BusinessObjects;
namespace ActionService.Messages
{
    /// <summary>
    /// Respresents a order request message from client to web service.
    /// </summary>
    [DataContract(Namespace = "http://www.yourcompany.com/types/")]
    public class OrderRequest : RequestBase
    {
        /// <summary>
        /// Selection criteria and sort order
        /// </summary>
        [DataMember]
        public OrderCriteria Criteria;

        /// <summary>
        /// Unique order identifier.
        /// </summary>
        [DataMember]
        public int OrderId;

        [DataMember]
        public List<int> ChairList;

        [DataMember]
        public List<string> ChairNameList;

        [DataMember]
        public int CategoryId;
        /// <summary>
        /// Unique order identifier.
        /// </summary>
        [DataMember]
        public OrderDto Order;
    }
}
